package com.mccken.designpattern.adapter.adapter2.step3;

import com.mccken.designpattern.adapter.adapter2.support.ResultMsg;

/**
 * 第三方登录兼容接口
 */
public interface IPassportForThird {
	
	ResultMsg loginForQQ(String id);
	ResultMsg loginForWechat(String id);
	ResultMsg loginForTelephone(String telephone, String code);
	ResultMsg loginForToken(String token);

	/**
	 * 注册后自动登陆
	 */
	ResultMsg loginForRegistry(String username, String passport);
	
}
